package com.example.administrator.managesystem.video;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.Toast;

import com.example.administrator.managesystem.R;
import com.example.administrator.managesystem.base.MyApplication;
import com.example.administrator.managesystem.utils.ActivityUtils;

/**
 * 登录选择演示
 */
public class LoginSelectActivity extends Activity{
  Button login;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.login_page);
     login=findViewById(R.id.web_login_btn);
     login.setOnClickListener(new OnClickListener() {
    @Override
    public void onClick(View v) {

       Intent intent=new Intent(LoginSelectActivity.this,EZRealPlayActivity.class);
        startActivity(intent);
    }
});

    }





    }

//    private void openPlatformLoginDialog() {
//        final EditText editText = new EditText(this);
//        new  AlertDialog.Builder(this)
//                .setTitle(R.string.please_input_platform_accesstoken_txt)
//                .setIcon(android.R.drawable.ic_dialog_info)
//                .setView(editText)
//                .setPositiveButton(R.string.certain, new DialogInterface.OnClickListener() {
//
//                    @Override
//                    public void onClick(DialogInterface dialog, int which) {
//                        //String getAccessTokenSign = SignUtil.getGetAccessTokenSign();
//
//                        MyApplication.getOpenSDK().setAccessToken(editText.getText().toString());
//                        Intent toIntent = new Intent(LoginSelectActivity.this, EZCameraListActivity.class);
//                        toIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
//                        LoginSelectActivity.this.startActivity(toIntent);
//                    }
//
//                })
//                .setNegativeButton(R.string.cancel, null)
//                .show();
//    }



